package com.mylibrary.domain;

import java.util.Date;
//借阅历史
public class LendList {
  private Integer bookId;    //图书id
  private Integer readerId;  //读者id
  private Date lendDate;   //借书时间
  private Date backDate;    //还书时间
    private Integer backType;
  private String exceptRemarks;  //备注信息

    public LendList(Integer bookId, Integer readerId, Date lendDate, Date backDate, Integer backType, String exceptRemarks) {
        this.bookId = bookId;
        this.readerId = readerId;
        this.lendDate = lendDate;
        this.backDate = backDate;
        this.backType = backType;
        this.exceptRemarks = exceptRemarks;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getReaderId() {
        return readerId;
    }

    public void setReaderId(Integer readerId) {
        this.readerId = readerId;
    }

    public Date getLendDate() {
        return lendDate;
    }

    public void setLendDate(Date lendDate) {
        this.lendDate = lendDate;
    }

    public Date getBackDate() {
        return backDate;
    }

    public void setBackDate(Date backDate) {
        this.backDate = backDate;
    }

    public Integer getBackType() {
        return backType;
    }

    public void setBackType(Integer backType) {
        this.backType = backType;
    }

    public String getExceptRemarks() {
        return exceptRemarks;
    }

    public void setExceptRemarks(String exceptRemarks) {
        this.exceptRemarks = exceptRemarks;
    }

    @Override
    public String toString() {
        return "LendList{" +
                "bookId=" + bookId +
                ", readerId=" + readerId +
                ", lendDate=" + lendDate +
                ", backDate=" + backDate +
                ", backType=" + backType +
                ", exceptRemarks='" + exceptRemarks + '\'' +
                '}';
    }
}
